<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
<meta name="renderer" content="webkit" />
<title>注册 - WeCenter</title>
<meta name="keywords" content="WeCenter,知识社区,社交社区,问答社区" />
<meta name="description" content="WeCenter社交化知识社区"  />
<meta property="qc:admins" content="1543437157611256216375" />
<meta property="wb:webmaster" content="d550602d19a4cb44" />
<base href="/" /><!--[if IE]></base><![endif]-->
<link href="/homes/css/default/img/favicon.ico?v=20150409" rel="shortcut icon" type="image/x-icon" />

<link rel="stylesheet" type="text/css" href="/homes/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="/homes/css/icon.css" />

<link href="/homes/css/default/common.css?v=20150409" rel="stylesheet" type="text/css" />
<link href="/homes/css/default/link.css?v=20150409" rel="stylesheet" type="text/css" />
<link href="/homes/js/plug_module/style.css?v=20150409" rel="stylesheet" type="text/css" />
<link href="/homes/css/default/register.css?v=20150409" rel="stylesheet" type="text/css" />

<link rel="stylesheet" type="text/css" href="/homes/css/fox/fox.css" />

<script type="text/javascript">
	var _337B2693BE334065C55C44B03DFE0639="";
	var G_POST_HASH=_337B2693BE334065C55C44B03DFE0639;
	var G_INDEX_SCRIPT = "/";
	var G_SITE_NAME = "WeCenter";
	var G_BASE_URL = "/";
	var G_STATIC_URL = "/homes";
	var G_UPLOAD_URL = "/uploads";
	var G_USER_ID = "";
	var G_USER_NAME = "";
	var G_UPLOAD_ENABLE = "N";
	var G_UNREAD_NOTIFICATION = 0;
	var G_NOTIFICATION_INTERVAL = 100000;
	var G_CAN_CREATE_TOPIC = "";
	var G_ADVANCED_EDITOR_ENABLE = "Y";

	</script>
<script src="/homes/js/jquery.2.js?v=20150409" type="text/javascript"></script>
<script src="/homes/js/jquery.form.js?v=20150409" type="text/javascript"></script>
<script src="/homes/js/plug_module/plug-in_module.js?v=20150409" type="text/javascript"></script>
<script src="/homes/js/jquery.easing.min.js?v=20150409" type="text/javascript"></script>
<script src="/homes/js/aws.js?v=20150409" type="text/javascript"></script>
<script src="/homes/js/aw_template.js?v=20150409" type="text/javascript"></script>
<script src="/homes/js/app.js?v=20150409" type="text/javascript"></script>
<script src="/homes/js/jquery.lazyload.js?v=20150409" type="text/javascript"></script>

<script type="text/javascript" src="/homes/js/compatibility.js"></script>
<!--[if lte IE 8]>
	<script type="text/javascript" src="/homes/js/respond.js"></script>
<![endif]-->
<script>
$(function() {
	//图片延时加载
	$(".shibox img").lazyload({
	placeholder : G_STATIC_URL+"/common/grey.gif",
	effect : "fadeIn"
	});
	$(".aw-article-list img").lazyload({
	placeholder : G_STATIC_URL+"/common/grey.gif",
	effect : "fadeIn"
	});
	$(".markitup-box img").lazyload({
	placeholder : G_STATIC_URL+"/common/grey.gif",
	effect : "fadeIn"
	});
});
</script>
</head>
<noscript unselectable="on" id="noscript">
    <div class="aw-404 aw-404-wrap container">
        <img src="/homes/common/no-js.jpg">
        <p>你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!</p>
    </div>
</noscript><div id="body-wrapper">
<div class="aw-register-box foxbox">
    <div class="mod-footer">
	    <span style="font-size:18px;"><i class="icon icon-user"></i> 注 册 新 用 户</span>&nbsp;
    </div>
    <div class="side-bar" style="margin-top:10px">
        @if (count($errors) > 0)
            <div class="mws-form-message warning" style="color:red;font-size:18px">
                @foreach ($errors->all() as $error)
                    {{ $error }} <br>
                @endforeach
            </div>
        @endif
    </div>
    <div class="mod-footer">
        <div class="mod-body">
            <form class="aw-register-form" action="/doregister" method="post" id="register_form">
                            			            <ul>
                    <li class="alert alert-danger hide error_message text-left">
                        <i class="icon icon-delete"></i> <em></em>
                    </li>
                    <li>
                        <input class="aw-register-name form-control" type="text" name="username" placeholder="用户名" tips="请输入一个 2-14 位的用户名" errortips="用户名长度不符合" value="{{old('username')}}" />
                    </li>
                    <li>
                        <input class="aw-register-pwd form-control" type="text" name="email" placeholder="邮箱" tips="请输入你常用的电子邮箱作为你的账号" errortips="邮箱格式不正确" value="{{old('email')}}" />

                    </li>
                    <li>
                        <input class="aw-register-pwd form-control" type="password" name="password" placeholder="密码" tips="请输入 6-16 个字符,区分大小写" errortips="密码不符合规则" />
                    </li>
                    <li>
                        <input class="aw-register-pwd form-control" type="password" name="repassword" placeholder="重复密码" tips="请再次输入密码进行确认" errortips="两次密码不一致" />
                    </li>

                    <li class="last">
                        <label><input type="checkbox" checked="checked" value="agree" name="agree" /> 我同意</label>
                        <a href="/login" class="pull-right">已有账号?</a>
                        <div class="aw-register-agreement hide">
                            <div class="aw-register-agreement-txt" id="register_agreement"></div>
                        </div>

                    </li>
                    <li class="clearfix">
                        <button class="btn btn-large btn-orange btn-block"> 注册</button>
                    </li>
                </ul>
                {{csrf_field()}}
            </form>
        </div> 

   
	    <span>已有帐号?</span>&nbsp;&nbsp;
		<a href="/login">立即登录</a>&nbsp;&nbsp;•&nbsp;&nbsp;
		<a href="/home">返回首页</a>
	</div>
</div>
<div id="bgPattern"></div>
</div>

<script type="text/javascript">
$(document).ready(function ()
{

    $.get(G_BASE_URL + '/account/ajax/register_agreement/', function (result) { $('#register_agreement').html(result.err); }, 'json');

    $('.aw-agreement-btn').click(function()
    {
        if ($('.aw-register-agreement').is(':visible'))
        {
            $('.aw-register-agreement').hide();
        }
        else
        {
            $('.aw-register-agreement').show();
        }
    });

    $('.more-information-btn').click(function()
    {
        $('.more-information').fadeIn();
        $(this).parent().hide();
    });

    verify_register_form('#register_form');

});
</script>
<script type="text/javascript" src="/homes/js/jquery.backstretch.js"></script>
<script type="text/javascript" src="/homes/js/app/fox.js"></script>
</body>
</html>